package znbkListXtfx.paperAssembly;

import android.util.Log;

import com.example.lancooznbk.service.HttpPostServer;
import com.lancoo.rxretrofitlibrary.Api.BaseApi;
import com.lancoo.rxretrofitlibrary.Api.UserInfo;
import com.lancoo.rxretrofitlibrary.listener.HttpOnNextListener;
import com.trello.rxlifecycle.components.support.RxFragment;

import retrofit2.Retrofit;
import rx.Observable;
import znbkTestPaperInfor.ZnbkPaperInfor;

/**
 * Created by Administrator on 2018\4\20 0020.
 */

public class SystemReviewMakePaperApi extends BaseApi {

    private MakePaperEntity mMakePaperEntity;


    public MakePaperEntity getmMakePaperEntity() {
        return mMakePaperEntity;
    }

    public void setmMakePaperEntity(MakePaperEntity mMakePaperEntity) {
        this.mMakePaperEntity = mMakePaperEntity;
    }



    public SystemReviewMakePaperApi(HttpOnNextListener listener, RxFragment rxFragment) {
        super(listener, rxFragment);
    }

    @Override
    public Observable getObservable(Retrofit retrofit) {
        PostServer postServer = retrofit.create(PostServer.class);
        return postServer.postSystemReviewMakePape(mMakePaperEntity);

    }
}
